package com.jfsnpm.authority;

import com.jfsnpm.common.AppTool;


public class Auth {
	/**
	 * 用于FreeMarker中获取权限以确认内容是否显示
	 * @param userid
	 * @param url
	 * @return
	 */
	public boolean getauth(String userid,String url){
		return AuthorityCheck.getPathAuthoriyByUserid(url, userid);
	}
	/**
	 * 用于获取随机的id
	 * @return
	 */
	public String getuuid(){
		return AppTool.getUUID();
	}
}
